home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C++ / Code Resources / 3D Buttons CDEF 1.0b4 / Source / 3D Buttons CDEF source / (3D Buttons CDEF.π) / LGBDeviceIterator.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-31  |  649 b   |  28 lines  |  [TEXT/MMCC]

  1. /**************************************************************************
  2.     LGBDeviceIterator
  3.     
  4.     Public domain, by Zig Zichterman.
  5.     
  6.     a class that iterates over all devices. Does NOT do fancy-schmancy
  7.     constructor/destructor things (so that I won't incur C++ runtime
  8.     overhead in my CDEF).
  9.  
  10.     07/31/94    zz    add mDeviceIsColor
  11. **************************************************************************/
  12. #pragma once
  13.  
  14. class LGBDeviceIterator {
  15.     public :
  16.         void    Init(const Rect &inLocalRect);
  17.         short    Next(void);
  18.     
  19.         Boolean        mDeviceIsColor;
  20.         
  21.     protected :
  22.         Rect        mGlobalRect;
  23.         GDHandle    mNextDevice;
  24.         Boolean        mNeedsOldQD;
  25.         Boolean        mDoneOldQD;
  26. };
  27.  
  28.